package com.things8.iot.baseIot.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author  yzh
 * @date  2021/5/2 21:24
 * @version 1.0
 */
@ApiModel(value="com-things8-iot-example-demo-entity-CustomerInfo")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CustomerInfo implements Serializable {
    @ApiModelProperty(value="")
    private Long id;

    /**
    * 客户手机号
    */
    @ApiModelProperty(value="客户手机号")
    private String phonenum;

    @ApiModelProperty(value="")
    private String openid;

    @ApiModelProperty(value="")
    private Date createTime;

    /**
    * 积分
    */
    @ApiModelProperty(value="积分")
    private BigDecimal integral;

    /**
    * 沐币
    */
    @ApiModelProperty(value="沐币")
    private BigDecimal currency;

    /**
    * 用户微信昵称
    */
    @ApiModelProperty(value="用户微信昵称")
    private String userName;

    /**
    * 用户微信头像
    */
    @ApiModelProperty(value="用户微信头像")
    private String avatarUrl;

    private static final long serialVersionUID = 1L;
}